package com.ruoyi.report_lq.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】业务对象 report_lq_common
 *
 * @author zyb
 * @date 2024-06-14
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ReportLqCommonBo extends BaseEntity {

    /**
     * 表ID
     */
    @NotNull(message = "表ID不能为空", groups = { EditGroup.class })
    private Long commonId;

    /**
     * 主表ID
     */
    @NotNull(message = "主表ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long liqjlId;

    /**
     * 区分试验表类型；1-闪点,2-针入度,3-黏附性,4-加热,5-报告
     */
    @NotNull(message = "区分试验表类型；1-闪点,2-针入度,3-黏附性,4-加热,5-报告不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long liqjlType;

    /**
     * 沥青产地
     */
    @NotBlank(message = "沥青产地不能为空", groups = { AddGroup.class, EditGroup.class })
    private String liqcd;

    /**
     * 沥青种类及标号
     */
    @NotBlank(message = "沥青种类及标号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String liqzljbh;

    /**
     * 取样地点
     */
    @NotBlank(message = "取样地点不能为空", groups = { AddGroup.class, EditGroup.class })
    private String quydd;

    /**
     * 集料产地及名称
     */
    @NotBlank(message = "集料产地及名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jilcdjmc;

    /**
     * 试验方法
     */
    @NotBlank(message = "试验方法不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shiyfangf;

    /**
     * 代表数量
     */
    @NotNull(message = "代表数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long daibsl;


}
